import Vue from 'vue';
import ElementUI from 'element-ui';
import './assets/css/newTheme/index.css';
import App from './App.vue'
import global from "./assets/js/global";
import './assets/css/index.css';

Vue.prototype.global = global;
Vue.use(ElementUI);
import echarts from 'echarts'

Vue.prototype.$echarts = echarts
// 路由
import VueRouter from 'vue-router';
Vue.use(VueRouter);
import routes from './assets/router/router.config.js';
const router = new VueRouter(routes);

//交互
// import axios from 'axios';
// Vue.prototype.axios = axios;
// axios.defaults.baseURL="https://clound.mayding.cn/";
// axios.defaults.baseURL="http://47.100.50.142:8089/";

// 状态管理
import store from "./assets/store";

new Vue({
  el: '#app',
  render: h => h(App),
  router,
  store
});

